package com.xiaohe66.web.application.love.bo;

import com.xiaohe66.common.validator.annotation.Max;
import com.xiaohe66.common.validator.annotation.Min;
import lombok.Data;


/**
 * @author xiaohe
 * @since 2021.12.07 15:56
 */
@Data
public class MessageSaveBo {

    @Min(0)
    private Long loverId;

    @Max(value = 500, message = "长度不能超过500个字符")
    private String text;

}
